<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      iw-5.4
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;15.&nbsp;Networking Programs
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="cifsutils.html" title=
          "cifs-utils-6.10">Prev</a>
          <p>
            cifs-utils-6.10
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="ncftp.html" title="NcFTP-3.2.6">Next</a>
          <p>
            NcFTP-3.2.6
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netprogs.html" title=
          "Chapter&nbsp;15.&nbsp;Networking Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="iw" name="iw"></a>iw-5.4
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to iw
        </h2>
        <p>
          iw is a new nl80211 based CLI configuration utility for wireless
          devices. It supports all new drivers that have been added to the
          kernel recently. The old tool iwconfig, which uses Wireless
          Extensions interface, is deprecated and it's strongly recommended
          to switch to iw and nl80211.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://www.kernel.org/pub/software/network/iw/iw-5.4.tar.xz">
                https://www.kernel.org/pub/software/network/iw/iw-5.4.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 0d8bd345449c14249e39ce4b1f09cd64
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 136 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 3.5 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          iw Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="libnl.html" title=
          "libnl-3.5.0">libnl-3.5.0</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/iw">http://wiki.linuxfromscratch.org/blfs/wiki/iw</a>
        </p>
      </div>
      <div class="kernel" lang="en" xml:lang="en">
        <h2 class="sect2">
          <a id="iw-kernel" name="iw-kernel"></a>Kernel Configuration
        </h2>
        <p>
          To use <span class="application">iw</span>, the kernel must have
          the appropriate drivers and other support available. The
          appropriate bus must also be available. For older laptops, the
          PCMCIA bus (CONFIG_PCCARD) needs to be built. In some cases, this
          bus support will also need to be built for embedded iw cards. The
          appropriate bridge support also needs to be built. For many modern
          laptops, the CardBus host bridge (CONFIG_YENTA) will be needed.
        </p>
        <p>
          In addition to the bus, the actual driver for the specific wireless
          card must also be available. There are many wireless cards and they
          don't all work with Linux. The first place to look for card support
          is the kernel. The drivers are located in Device Drivers &rarr;
          Network Device Support &rarr; Wireless LAN (non-hamradio). There
          are also external drivers available for some very common cards. For
          more information, look at the user notes.
        </p>
        <p>
          After the correct drivers are loaded, the interface will appear in
          <code class="filename">/proc/net/wireless</code>.
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of iw
        </h2>
        <p>
          To install <span class="application">iw</span>, use the following
          commands:
        </p>
        <pre class="userinput">
<kbd class="command">sed -i "/INSTALL.*gz/s/.gz//" Makefile &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make SBINDIR=/sbin install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>sed ...</strong></span>: Install
          uncompressed manual pages in accordance with other man pages.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">iw</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="iw-prog" name="iw-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>iw</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    show / manipulate wireless devices and their
                    configuration
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 12:12:55 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="cifsutils.html" title=
          "cifs-utils-6.10">Prev</a>
          <p>
            cifs-utils-6.10
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="ncftp.html" title="NcFTP-3.2.6">Next</a>
          <p>
            NcFTP-3.2.6
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netprogs.html" title=
          "Chapter&nbsp;15.&nbsp;Networking Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
